package com.ling.pl.autoproject.definition.programme.model;

import com.ling.pl.core.commons.annotation.ModelProperty;

import javax.persistence.Column;

/**
 * 系统设置
 */
public class ProjectConfig {
    //系统初始设置
    @Column(name = "IS_BASE_CONFIG")
    @ModelProperty(comment = "初始化系统基础配置")
    Boolean isBaseConfig;

    @Column(name = "IS_MODEL")
    @ModelProperty(comment = "系统支持数据库变化时操作")
    Boolean isModel;

    @Column(name = "IS_IMPORT_QUOTE_MODEL")
    @ModelProperty(comment = "将引用系统模型导入")
    Boolean isImportQuoteModel;

    @Column(name = "IS_CREATE_QUOTE_MODEL")
    @ModelProperty(comment = "建立引用系统的数据结构")
    Boolean isCreateQuoteModel;
    //系统基本配置
    @Column(name = "IS_I18N")
    @ModelProperty(comment = "是否多语言")
    Boolean isI18n;

    @Column(name = "DEFAULT_LANGUAGE", length = 50)
    @ModelProperty(comment = "默认语言")
    String defaultLanguage;

    @Column(name = "DEFAULT_COLUMN_SORT", length = 150)
    @ModelProperty(comment = "属性默认排序", des = "属性名称,创建时间")
    String defaultColumnSort;

    @Column(name = "MAX_EXPORT", length = 150)
    @ModelProperty(comment = "数据导出最大记录数", des = "属性名称,创建时间")
    String maxExport;

    @Column(name = "IS_EXPAND_DEFAULT")
    @ModelProperty(comment = "展开默认值")
    Boolean isExpandDefault;
    //代码表设置
    @Column(name = "NULL_TEXT", length = 150)
    @ModelProperty(comment = "无值内容")
    String nullText;

    @Column(name = "NULL_TEXT_LANG", length = 150)
    @ModelProperty(comment = "无值内容语言资源")
    String nullTextI18n;
    //系统模型设置
    @Column(name = "MODEL_RULE_ID", length = 36)
    @ModelProperty(comment = "系统引擎配置")
    String modelRuleId;
}
